import { ref } from "vue";

export const ToolViewLeftMenu = ref([
  {
    type: "group",
    title: "主导航",
    children: [
      { type: "item", value: "/kg/dashboard", label: "仪表盘", icon: "dashboard", },
    ],
  },
  {
    type: "group",
    title: "学科",
    children: [
      {
        type: "submenu", value: "history", label: "历史", icon: "application",
        children: [
          { type: "item", value: "/kg/history", label: "搜索历史记录" },
          { type: "item", value: "/kg/history/add", label: "添加历史记录" },
        ],
      },
      {
        type: "submenu", value: "physics", label: "物理", icon: "app",
        children: [
          { type: "item", value: "/kg/quantum", label: "量子力学" },
        ],
      },
    ],
  },
  {
    type: "group",
    title: "媒体",
    children: [
      {
        type: "submenu", value: "drama", label: "电视剧", icon: "application",
        children: [
          { type: "item", value: "/kg/drama", label: "电视剧" },
        ],
      },
      {
        type: "submenu", value: "movie", label: "电影", icon: "application",
        children: [
          { type: "item", value: "/kg/movie", label: "电影" },
        ],
      },
      {
        type: "submenu", value: "music", label: "音乐", icon: "application",
        children: [
          { type: "item", value: "/kg/music", label: "音乐" },
        ],
      },
      {
        type: "submenu", value: "book", label: "书籍", icon: "application",
        children: [
          { type: "item", value: "/kg/book-list", label: "书籍列表" },
          { type: "item", value: "/kg/book-dedao", label: "得到-书籍" },
          { type: "item", value: "/kg/wenming", label: "得到-文明之旅" },
          { type: "item", value: "/kg/course-dedao", label: "得到-课程" },
          { type: "item", value: "/kg/book-audio-dedao", label: "得到-听书" },
        ],
      },


    ],
  },

  {
    type: "group",
    title: "更多",
    children: [
      { type: "item", value: "/", label: "首页", icon: "home", },
      { type: "item", value: "/user", label: "个人页", icon: "user", },
      { type: "item", value: "/login", label: "登录页", icon: "login", },
      { type: "item", value: "/setting", label: "设置", icon: "setting", },
    ],
  },
]);

export const ResourceViewLeftMenu = ref([
  {
    type: "group",
    title: "主导航",
    children: [
      { type: "item", value: "/resource/dashboard", label: "资源仪表盘", icon: "dashboard", },
      { type: "item", value: "/resource/image", label: "图片", icon: "application", },
      { type: "item", value: "/resource/doc", label: "文件", icon: "application", },
    ],
  },
]);
